package com.wowoai.user.convert;

import com.wowoai.user.controller.req.UserReq;
import com.wowoai.user.controller.vo.UserVO;
import com.wowoai.user.entity.UserEntity;
import com.wowoai.user.service.dto.UserDTO;
import org.mapstruct.Mapper;
import org.mapstruct.MappingTarget;
import org.mapstruct.factory.Mappers;

@Mapper
public interface UserConvert {
    UserConvert INS = Mappers.getMapper(UserConvert.class);

    UserDTO entity2DTO(UserEntity userEntity);

    UserVO dto2VO(UserDTO userDTO);
}
